package com.atguigu.controller;

import com.atguigu.service.BaseBrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author ：Hachimen
 * @date ：Created in 2021/8/28 14:21
 * @description：Redis锁测试
 * @modified By：
 * @version: 0.0.1
 */
@Controller
@RequestMapping("/sku")
public class ConCurrenceController {
    @Autowired
    private BaseBrandService brandService;

    @RequestMapping("/setNum")
    public String setNum() {
        brandService.setNum();
        return "success";
    }

}
